package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxAccompliceCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxAccompliceResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxAccompliceUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxAccompliceEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface JzdxAccompliceConvert {

    JzdxAccompliceConvert INSTANCE = Mappers.getMapper(JzdxAccompliceConvert.class);

    JzdxAccompliceResultDTO convert(JzdxAccompliceEntity s);

    JzdxAccompliceEntity create(JzdxAccompliceCreateDTO s, Long tenantId);

    JzdxAccompliceEntity update(JzdxAccompliceUpdateDTO s);
}
